home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97a.txt / 000117_icon-group-sender _Tue Apr 15 16:48:02 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Wed, 16 Apr 1997 08:26:36 MST
  2. Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
  3.     id AA02061; Wed, 16 Apr 1997 08:26:36 -0700
  4. Date: Tue, 15 Apr 1997 16:48:02 -0700
  5. From: swampler@noao.edu (Steve Wampler)
  6. Subject: Re: Records in Icon
  7. To: icon-group@cs.arizona.edu
  8. Message-Id: <swampler-9703152348.AA001115590@orpheus.gemini.edu>
  9. In-Reply-To: <19674@stryx.demon.co.uk>
  10. Errors-To: icon-group-errors@cs.arizona.edu
  11. Status: RO
  12. Content-Length: 1103
  13.  
  14.  
  15.  
  16. Iain Alexander wrote:
  17. > In message <334E5509.2A4@gemini.edu> Steve Wampler writes:
  18. > > 
  19. > > Do you care why the two records 'match'?  That is, do you need to
  20. > > distinguish between your two example cases, or is it sufficient to
  21. > > simply say "the records 'match'"?
  22. > > 
  23. > > Here's a procedure that handles the latter case:
  24. > > 
  25. > > procedure weakMatch(r1,r2)
  26. > >     return !r1 ~=== !r2
  27. > > end
  28. > Eh?  What's that "~" doing there?
  29. > (BTW, it wasn't clear to me whether the word "record" in the original
  30. > was intended to refer to the Icon structure of that name.  Your code
  31. > (modulo suspected typo) obviously works just as well with a list,
  32. > which might be a more appropriate data structure, depending on how
  33. > variable the input is.  But Stuart, it might be better to avoid the
  34. > word "record" if what you actually meant was a structured line of text.)
  35.  
  36. Mea culpa - Ian is right - that is a typo.  Thanks for catching that!
  37.  
  38. --
  39. Steve Wampler - swampler@gemini.edu [Gemini 8m Telescopes Project (under AURA)]
  40. O Sibile, si ergo, fortibus es inero.
  41. Nobile, demis trux.  Demis phulla causan dux.
  42.